package com.guli.base.user.controller;

import com.jingxi.common.dto.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/base")
public class LoginController {

    @PostMapping("/sysLogin")
    public R login(){
        return R.okTip("登陆成功");
    }

    @GetMapping("/getHistory")
    public R getHistory(){
        return R.okTip("登陆成功");
    }

}
